package ${package.Entity};

import io.github.talelin.latticy.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
* @author vvboy
*/
@Data
@TableName("${table.name}")
@EqualsAndHashCode(callSuper = true)
public class ${entity} extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

<#list table.fields as field>
    <#if field.comment != "">
    /**
    * ${field.comment}
    */
    </#if>
    private ${field.propertyType} ${field.propertyName};
</#list>

}
